Test-Driven Web Application Development in Java

نویسنده

  • Jens Uwe Pipka
چکیده

Today, software availability as well as adaptability has a strong impact on application development. Together with the success of the Internet technology, it is often necessary to offer a web-based software solution. For Java development, J2EE builds a bridge from traditional towards web application development. Java Server Pages and Servlets allow the implementation of web sites with dynamic content. Anyway, it is still possible to apply well-tried programming paradigms, e.g. the Model-View-Controller (MVC) paradigm. With regard to software quality as well as adaptability, application development is affected more and more by advanced testing techniques. Especially unit testing provides a powerful technique to develop new functionality as well as to extend and reuse existing parts. This is also strengthened by the success of agile processes that force test-driven development. From there, application code grows up with unit tests from scratch on. For Java, JUnit has become the defacto standard unit test environment. Nevertheless, test-driven web application development requires broadening the unit test approach. Considering the special requirements of web application development, both the scope of the unit tests as well as the JUnit framework itself have to be extended to enable a test-driven development. In this paper, we present an approach to customize the unit test cycle as well as the JUnit framework towards a test-driven web application development.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Frameworks for Model-Driven Development of Web Applications

This paper describes model driven development of dynamic web application using a few different frameworks. Those are the following open source Java frameworks: Modelibra, ModelibraWicket and Wicket. Modelibra is a domain model framework. ModelibraWicket is an application development framework. This web framework uses Modelibra for domain models and Wicket for application views. The domain model...

متن کامل

An Improved Java Programming Learning System Using Test-Driven Development Method

To enhance educational effects of Java programming by assisting self-studies of students and reducing teaching loads of teachers, we have proposed a Web-based Java programming learning system using the test-driven development method. In this system, a teacher should register Java programming assignments with statements, model source codes, and test codes using a Web browser. Then, a student can...

متن کامل

Java Data Objects: Transparent domain model persistence for Java web applications

This paper is based on the experience of teaching Java-based web application development to Level 3 students on the BSc(Hons) Computer Studies and BSc(Hons) Software Engineering degrees at Southampton Institute. Students study object-oriented application development in Java as a prerequisite for participating in the Distributed Computing in Java option unit. This unit has been running for three...

متن کامل

Modeling and Generating the User Interface of Mobile Devices and Web Development with Dsl

Due to the large number and variety of mobile technologies (Android, iOS, Windows Phone, etc) and web (Java Server Faces, Asp.net, HTML 5, etc) based-components, developing the same application for these different platforms becomes a tedious task. The Model Driven Architecture (MDA) approach aims to provide an easy and efficient practical solution for developing a cross-platform application. In...

متن کامل

Model Driven Development of Web Application with SPACE Method and Tool-suit

Enterprise level software development using traditional software engineering approaches with third-generation programming languages is becoming more challenging and cumbersome task with the increased complexity of products, shortened development cycles and heightened expectations of quality. MDD (Model Driven Development) has been counting as an exciting and magical development approach in the ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2002